﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Deployment.WindowsInstaller;

namespace wpfsetup.Setup.Model
{
    /// <summary>
    /// DefaultInstallerAdapter implements an InstallerAdapter using
    /// DTF Installer static class.
    /// </summary>
    public class DefaultInstallerAdapter : IInstallerAdapter
    {
        public void SetInternalUI(InstallUIOptions options)
        {
            Installer.SetInternalUI(options);
        }

        public void SetExternalUI(ExternalUIHandler uiHandler, InstallLogModes options)
        {
            Installer.SetExternalUI(uiHandler, options);
        }
    }
}
